From: Simon Praetorius Date: Sat, 13 Sep 2025 16:12:08 +0000 (+0000) Subject: [PATCH] Use GNU-extension flag to activate quadmath automatically X-Git-Tag: archive/raspbian/2.10.0-6+rpi1^2~2 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=f61f3d7b4ca48054dbb848c40089b16af102005e;p=dune-common.git [PATCH] Use GNU-extension flag to activate quadmath automatically Gbp-Pq: Name Use-GNU-extension-flag-to-activate-quadmath-automati.patch --- diff --git a/cmake/modules/FindQuadMath.cmake b/cmake/modules/FindQuadMath.cmake index 319fb24..5e19fd6 100644 --- a/cmake/modules/FindQuadMath.cmake +++ b/cmake/modules/FindQuadMath.cmake @@ -71,11 +71,4 @@ if(QuadMath_FOUND AND NOT TARGET QuadMath::QuadMath) # Compiler supports QuadMath: Add appropriate linker flag add_library(QuadMath::QuadMath INTERFACE IMPORTED) target_link_libraries(QuadMath::QuadMath INTERFACE quadmath) - - target_compile_definitions(QuadMath::QuadMath INTERFACE - _GLIBCXX_USE_FLOAT128 - ) - target_compile_options(QuadMath::QuadMath INTERFACE - $<$:-fext-numeric-literals> - ) endif()